﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace _007_TCPClient_BF
{
    [Serializable]
    class MyObject
    {
        
        private int id;
        private String name;
        public int Id
        {
            get { return id; }
            set { id = value; }
        }


        public String Name
        {
            get { return name; }
            set { name = value; }
        }

        public MyObject() { id = 0; name = null; }
        public MyObject(int id, String name) { this.id = id; this.name = name; }
    }
}
